import IDeptPageForm from '@/model/form/dept/IDeptPageForm'
import IPageVO from '@/model/vo/common/IPageVO'
import IResVO from '@/model/vo/common/IResVO'
import IDeptVO from '@/model/vo/dept/IDeptVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 分页排序查询：部门
export default function deptPageApi(form: IDeptPageForm) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO<IPageVO<IDeptVO>>>,
    IDeptPageForm
  >('/dept/page', form)
}
